package thread;

public class Test {

	public static void main(String[] args) {
//		MyThread mt1=new MyThread("1");
//		MyThread mt2=new MyThread("2");
//		
//		mt1.start();
//		mt2.start();
//		
//		System.out.println("我是main");
		MyRunable mr1=new MyRunable();
		//MyRunable mr2=new MyRunable();
		Thread t1=new Thread(mr1,"1");
		Thread t2=new Thread(mr1,"2");
		Thread t3=new Thread(mr1,"3");
		t1.start();
		t2.start();
		t3.start();
	}

}
